<?php
include_once '../includes/common.php';
@header("content-Type:text/json;charset=utf-8");
$proid = intval($_GET['proid']);
$rs=$DB->query("SELECT * FROM authguao_cjlist WHERE proid='$proid' AND active=1 order by id desc");
while($res = $DB->fetch($rs)) {
    $cjlist[]=$res;
}
$result['code']=0;
$result['data']=$cjlist;
echo json_encode($result);